<template>
	<!-- 收费规则 -->
	<view class="container">
		<image src="../../static/guize.png" mode=""></image>
		<view class="conten" v-html="info.standard">
			<!-- {{info.standard}} -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:''
			};
		},
		onLoad() {
			uni.showLoading({
				title: '加载中',
				mask: false
			});
			uni.request({
				url: this.webUrl+'/index/site/standard',
				method: 'GET',
				data: {},
				success: res => {
					console.log(res)
					uni.hideLoading()
					if(res.data.code==0){
						this.info=res.data.data
					}else if(res.data.code==3){
						uni.showToast({
							title: res.data.msg,
							icon:'none',
							duration:2000
						});
					}else{
						uni.showToast({
							title: '网络错误',
							icon:'none',
							duration:2000
						});
					}
				},
				fail: () => {
					uni.showToast({
						title: '网络错误',
						icon:'none',
						duration:2000
					});
				},
				complete: () => {}
			});
		}
	}
</script>

<style lang="scss" scoped>
	.container{
		position: absolute;
		left: 0;
		bottom: 0;
		top: 0;
		right: 0;
		image{
			width: 100%;
			height: 300upx;
		}
		.conten{
			margin: 30upx;
		}
	}
</style>
